import Layout from '@/pages/public/layout' // 公共部分

const coursecard = [{
  path: '/market/coupon/courseCard',
  component: Layout,
  children: [{
    path: 'index',
    component: () => import('@/pages/market/coupon/course_card/index.vue'),
    meta: {
      title: '课程卡-列表',
      permission: 'market.coupon.coursecard.list'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/market/coupon/course_card/create.vue'),
    meta: {
      title: '课程卡-新建',
      permission: 'market.coupon.coursecard.create'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/market/coupon/course_card/edit.vue'),
    meta: {
      title: '课程卡-编辑',
      permission: 'market.coupon.coursecard.edit'
    }
  }, {
    path: ':id/details',
    component: () => import('@/pages/market/coupon/course_card/details/index.vue'),
    meta: {
      title: '课程卡-领取情况',
      permission: 'market.coupon.coursecard.details'
    }
  }]
}]

export default coursecard
